#ifdef MINGW

#include "winwrap.h"

WINADVAPI LONG WINAPI RegOpenCurrentUser(REGSAM regsam, PHKEY phkey)
{
    return RegOpenKeyEx(HKEY_CURRENT_USER, NULL, 0, regsam, phkey);
}

#endif

